﻿using System.Text.Json.Nodes;

namespace SMCL.Core.Utils.Types
{
    public class AssetIndex(JsonNode node)
    {
        public AssetIndex_Object[] Objects { get; private set; } = Array.ConvertAll(node["objects"].AsObject().ToArray(), (node) => new AssetIndex_Object(node));
    }
}
